翻訳と辞書
Words near each other
・ Hashim Ridha
・ Hashim Safi Al Din
・ Hashim Salah Mohamed
・ Hashim Saleh
・ Hashim Sarkis
・ Hashim Suboh
・ Hashim Thaçi
・ Hashim Zaidan
・ Hashima
・ Hashima District, Gifu
・ Hash table
・ Hash tree
・ Hash tree (persistent data structure)
・ Hash trie
・ Hash, Marihuana & Hemp Museum
Hash-based message authentication code
・ Hash-Inau-uk Kamuy
・ Hasha Kalayeh
・ Hasha language
・ Hashalom
・ HaShalom Stadium
・ Hasham
・ Hasham Balm
・ Hasham Kuh
・ Hasham-e Champeh
・ Hasham-e Howdow
・ Hashamar
・ HaShamen
・ Hashamiyeh
・ Hashan


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Hash-based message authentication code : ウィキペディア英語版
Hash-based message authentication code
In cryptography, a keyed-hash message authentication code (HMAC) is a specific construction for calculating a message authentication code (MAC) involving a cryptographic hash function in combination with a secret cryptographic key. As with any MAC, it may be used to simultaneously verify both the ''data integrity'' and the ''authentication'' of a message. Any cryptographic hash function, such as MD5 or SHA-1, may be used in the calculation of an HMAC; the resulting MAC algorithm is termed HMAC-MD5 or HMAC-SHA1 accordingly. The cryptographic strength of the HMAC depends upon the cryptographic strength of the underlying hash function, the size of its hash output, and on the size and quality of the key.
An iterative hash function breaks up a message into blocks of a fixed size and iterates over them with a compression function. For example, MD5 and SHA-1 operate on 512-bit blocks. The size of the output of HMAC is the same as that of the underlying hash function (128 or 160 bits in the case of MD5 or SHA-1, respectively), although it can be truncated if desired.
The definition and analysis of the HMAC construction was first published in 1996 by Mihir Bellare, Ran Canetti, and Hugo Krawczyk,〔 who also wrote RFC 2104. This paper also defined a variant called NMAC that is rarely, if ever, used. FIPS PUB 198 generalizes and standardizes the use of HMACs. HMAC-SHA1 and HMAC-MD5 are used within the IPsec and TLS protocols.
==Definition (from RFC 2104)==

\textit(K, m) = H \Bigl( (K \oplus opad) \;||\; H \bigl( (K \oplus ipad) \;||\; m \bigr) \Bigr)

where
:''H'' is a cryptographic hash function,
:''K'' is a secret key padded to the right with extra zeroes to the input block size of the hash function, or the hash of the original key if it is longer than that block size,
:''m'' is the message to be authenticated,
:|| denotes concatenation,
:⊕ denotes exclusive or (XOR),
:''opad'' is the outer padding (0x5c5c5c…5c5c, one-block-long hexadecimal constant),
:and is the inner padding (0x363636…3636, one-block-long hexadecimal constant).

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Hash-based message authentication code」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.